from django.urls import path
from . import views

urlpatterns = [
    path('login/', views.login, name='login'),
    path('modal_login/', views.modal_login, name='modal_login'),
    path('register/', views.register, name='register'),
    path('logout/', views.logout, name='logout'),
    path('user_info/', views.user_info, name='user_info'),
    path('change_nickname/', views.change_nickname, name='change_nickname'),
    path('reset_username/', views.reset_password, name='reset_password'),
    path('bind_email/', views.bind_email, name='bind_email'),
    path('activate_user/<slug:captcha>/<int:user_pk>/', views.activate_user, name='activate_user'),
    path('retrieve_password/', views.retrieve_password, name='retrieve_password'),
    path('send_captcha/', views.send_captcha, name='send_captcha'),
]